package com.netvitesse.nvconnect.test

import geb.*

class NewSQLDatastorePage extends Page{
		
	static content = {
		server { $("input", name: "host") }
		port { $("input", name: "port") }
		database { $("input", name: "dataBase") }
		login { $("input", name: "bindDn") }
		password { $("input", name: "password") }
		button  {buttonID->module ButtonModule, buttonID: buttonID}
		theTestMsgDiv(required: false) { $("div#ajaxResultsArea") }
		theTab1Div(required: false) { $("div#tab-1") }
		theTab2Div(required: false) { $("div#tab-2") }
		theTab3Div(required: false) { $("div#tab-3") }
		theText(required: false) {$("span", text: "The connection works")}
		clickLink { linkName,className->module LinkModule, linkName:linkName, className:className}
	}
	
}